package com.sun.dailyprj.designpatterns.chain;

public class ScheduleToast extends InterceptChain{

    public ScheduleToast(String tag) {
        super(tag);
        System.out.println("ScheduleToast construct : " + tag);
    }

    @Override
    void next(String tag) {
        System.out.println("ScheduleToast next : " + tag);
    }

    @Override
    void cancel(String tag) {
        System.out.println("ScheduleToast cancel : " + tag);
    }

    @Override
    void other(String tag) {
        System.out.println("ScheduleToast other : " + tag);
    }
}
